package org.asiainfo.file.domain;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.asiainfo.common.mybatis.stream.core.domain.BaseEntity;
import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.Table;

/**
 * 附件详细信息(AttactmentInfo)实体类
 *
 * @author dotor-ww
 * @since 2024-03-02 15:57:04
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Table("attactment_info")
public class AttactmentInfo extends BaseEntity {

    /**
     * 主键ID
     */
    @Id
    @Column(value = "id")
    private Long id;
    /**
     * 附件ID
     */
    @Column(value = "attact_id")
    private Long attactId;
    /**
     * 文件MD5
     */
    @Column(value = "file_md5")
    private String fileMd5;
    /**
     * 文件URL地址
     */
    @Column(value = "url")
    private String url;
    /**
     * 文件名称
     */
    @Column(value = "file_name")
    private String fileName;
    /**
     * 文件类型
     */
    @Column(value = "file_type")
    private String fileType;
    /**
     * 文件大小
     */
    @Column(value = "file_size")
    private Long fileSize;
    /**
     * 上传方式
     */
    @Column(value = "upload_type")
    private Integer uploadType;
    /**
     * 备注信息
     */
    @Column(value = "remark")
    private String remark;
    /**
     * 删除标志（0代表存在 2代表删除）
     */
    @Column(value = "del_flag")
    private String delFlag;
}

